[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
goto Jumps to a Specified Label
goto <label>;
Transfers control to the first statement following the label <label>.
<label> must be in the same procedure or function as the GOTO
statement and if the GOTO is in the main body of the program, then
<label> must also be in the main body of the program.
<label> A valid Pascal label, declared in the LABEL section
and used somewhere in the enclosing block.
-------------------------------- Example ---------------------------------
label
All, Around;
begin
All:
Writeln ('Over and over');
goto Around;
Around:
goto All
end.
See Also:
label
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson